<?php
include_once 'Garble.class.php';

class encrypt
{
	public $crypt;
	public $key = 'PrayujFromYoungJ';
    
	function __construct()
	{
		$this->crypt = new encryption_class();
		
		//$this->key=$this->aes->makeKey("PrayujFromYoungJ");
	}
	function encrypt_sha1($seed)
	{
		//$garble = $this->aes->blockEncrypt($seed, $this->key); 
		//return $garble;
		$garble = $this->crypt->encrypt($this->key,$seed);
		return $garble;
	}
	
	function decrypt_sha1($seed)
	{
		$garble = $this->crypt->decrypt($this->key,$seed);
		return $garble;
	}
	
}
?>